/**
 * 
 */
package t4j;

/**
 * @author sz
 *
 * create time：2012-8-14
 */
public class leaf {

	
	static int i;
	
	static{
		i = 1984;
	}
	
	leaf increment(){
		
		i++;
		
		return this;
	}
	
	void print(){
		System.out.println("i=" + i);
	}
	
	public static void main(String[] args) {
	
		leaf a = new leaf();
		
		leaf b = new leaf();
		
		a.i++;
		
		a.print();
		
		b.print();
		
//		System.out.println(leaf.i);
		
	}
}
